<?xml version='1.0' encoding='UTF-8'?>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	template="./templates/loginTemplate.xhtml">
		
	<ui:define name="pageTitle">#{msg.loginTitle}</ui:define>
	
	<ui:define name="menu">
		<!-- Specific menu for login page -->
		<div class="menu">
			<p>
				#{app.date}
				<br />
				#{msg.loginNotLoggedIn}
			</p>
		</div>
	</ui:define>
	
	<ui:define name="content">
		<form action="j_security_check" method="post">
			<table>
				<tr>
					<td>#{msg.loginLogin}</td>
					<td><input type="text" name="j_username" size="3" maxlength="3" /></td>
				</tr>
				<tr>
					<td>#{msg.loginPassword}</td>
					<td><input type="password" name="j_password" size="20" /></td>
				</tr>
			</table>
			
			<input type="submit" value="#{msg.loginButtonLabel}" class="button"/>
		</form>
		
	</ui:define>
	
</ui:composition>